QueryInterface<T>(Object) Method
In This Topic
Queries a managed object for a particular COM interface support.
Syntax
'Declaration
Public Overloads Shared Function QueryInterface(Of As ComObject)( _
ByVal As System.Object _
) As
public static QueryInterface<>(
System.object
)
where T: ComObject
Parameters
- comObject
- The managed COM object.
Type Parameters
- T
- The type of the COM interface to query
Return Value
An instance of the queried interface
See Also